package ecmnext.business;

/***************************************************************/
/*                     SOFTWARE SECTION                        */
/***************************************************************/
/*
 * <p>Name: ECMNext</p>
 * <p>Description: Simulation of the platform of trading Software</p>
 * <p>Licence: General Public License</p>
 * <p>Organisation: EC Marseille</p>
 * <p>Persons involved in the project : groupe Plateforme de Trading</p>
 * <p>Current version: 1.0</p>
 */


/***************************************************************/
/*                       IMPORT SECTION                        */
/***************************************************************/

import javax.swing.*;

/***************************************************************/
/*            ClientInputPanel INTERFACE SECTION               */
/***************************************************************/
/**
 * <p>Title : ClientInputPanel</p>
 * <p>Description : </p>
 * @author Xuewen YANG ET Antoine COUDERC
 * @version 1.0
 */

public interface ClientInputPanel {

  /**
   * Returns a new instance of the panel that could be used to send some
   * operations to the server.
   * @return JPanel
   */
  public JPanel getPanel();

  /**
   * Will be called when the experiment is paused.
   * The panel should disable all its input components.
   */
  public void stopEdition();

  /**
   * When the experiments gets out of pause, this function should be called.
   * The input components from the panel should be enabled.
   */
  public void startEdition();

}
